from flask import render_template, Blueprint
from flask_login import login_required, current_user

index_bp = Blueprint('Index', __name__, url_prefix='/')


@index_bp.route('/')
@login_required
def index():
    user = current_user
    return render_template('admin/index.html', user=user)
